package com.gejt.test.repositories;

import com.gejt.test.entity.Post;
import org.socialsignin.spring.data.dynamodb.repository.EnableScan;
import org.socialsignin.spring.data.dynamodb.repository.EnableScanCount;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Component;

import java.util.List;

@EnableScanCount
@EnableScan
public interface PostRepository  extends CrudRepository<Post, String> {

//    public List<Post> getRecentPosts(int count, int offset);

//    public void savePost(Post post);
}
